﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="teacherLayui.aspx.cs" Inherits="Admin1_Default" %>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>健新考试系统</title>
    <link href="../layui/css/layui.css" rel="stylesheet" />
    <script src="../JS/jquery-3.3.1.min.js"></script>
    <script type="text/javascript">


</script>
</head>
<body class="layui-layout-body">
    <div class="layui-layout layui-layout-admin">
        <div class="layui-header">
            <div class="layui-logo">健新/天心考试系统</div>
            <!-- 头部区域（可配合layui已有的水平导航） -->
            <ul class="layui-nav layui-layout-left">
                <%--  <li class="layui-nav-item"><a href="">控制台</a></li>
      <li class="layui-nav-item"><a href="">商品管理</a></li>
      <li class="layui-nav-item"><a href="">用户</a></li>
      <li class="layui-nav-item">
        <a href="javascript:;">其它系统</a>
        <dl class="layui-nav-child">
          <dd><a href="">邮件管理</a></dd>
          <dd><a href="">消息管理</a></dd>
          <dd><a href="">授权管理</a></dd>
        </dl>
      </li>--%>
            </ul>
            <ul class="layui-nav layui-layout-right">
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <img src="http://t.cn/RCzsdCq" class="layui-nav-img">
                        <nobr id="TopName">用户管理</nobr>
                    </a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:void(0)" onclick="ChangePwd()">修改密码</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">不喜欢？
                    </a>
                    <dl class="layui-nav-child">
                        <dd><a href="teacher.aspx">回旧版</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item"><a href="../index.aspx">退了</a></li>
            </ul>
        </div>

        <div class="layui-side layui-bg-black">
            <div class="layui-side-scroll">
                <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
                <ul class="layui-nav layui-nav-tree" lay-filter="test">
                    <li class="layui-nav-item layui-nav-itemed">
                        <a href="javascript:void(0)" onclick="Home()">HOME</a>
                    </li>
                    <li class="layui-nav-item layui-nav-itemed">
                        <a class="" href="javascript:;">关键用户管理</a>
                        <dl class="layui-nav-child">
                            <dd><a myhref="../Admin/ManageStudent.aspx">关键用户信息</a></dd>
                            <dd><a myhref="ManageStudentNew.aspx">(NEW)关键用户信息</a></dd>
                            <dd><a myhref="ManageScore.aspx">关键用户成绩</a></dd>
                            <dd><a myhref="../Admin/AddStudent.aspx">增加关键用户</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;">考试科目信息</a>
                        <dl class="layui-nav-child">
                            <dd><a myhref="AddCourse.aspx">考试科目添加</a></dd>
                            <dd><a myhref="ManageCourse.aspx">考试科目管理</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;">试题</a>
                        <dl class="layui-nav-child">
                            <dd><a myhref="AddDanXuan.aspx">单选题录入</a></dd>
                            <dd><a myhref="ManageDanXuan.aspx">单选题维护</a></dd>
                            <dd><a myhref="AddDuoXuan.aspx">多选题录入</a></dd>
                            <dd><a myhref="ManageDuoXuan.aspx">多选题维护</a></dd>
                            <dd><a myhref="AddPanDuan.aspx">判断题录入</a></dd>
                            <dd><a myhref="ManagePanDuan.aspx">判断题维护</a></dd>
                            <dd><a myhref="AddAskAnswer.aspx">问答题录入</a></dd>
                            <dd><a myhref="ManageAskAnswer.aspx">问答题维护</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;">试卷</a>
                        <dl class="layui-nav-child">
                            <dd><a myhref="PaperList.aspx">试卷库</a></dd>
                            <dd><a myhref="AddTaoTi.aspx">试卷制定</a></dd>
                            <dd><a myhref="ManageTaoTi.aspx">试卷维护</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;">试卷批改</a>
                        <dl class="layui-nav-child">
                            <dd><a myhref="CORRECTASKANSWER.aspx">简答题批改</a></dd>
                        </dl>
                    </li>
                </ul>
            </div>

        </div>

        <div class="layui-body">


            <iframe id="iframeMain" src="TeacherHome.aspx" style="width: 100%; height: 100%; float: left; padding-top: 1%; padding-left: 1%"></iframe>

        </div>

        <div class="layui-footer">
            <!-- 底部固定区域 -->
            Copyright @2018 健新智能科技有限公司
        </div>
    </div>
    <script src="../layui/layui.js"></script>
    <script>
        //JavaScript代码区域
        layui.use('element', function () {
            var element = layui.element;



            var name = '<%=Session["NAME"] %>';
            $("#TopName").text(name);

            //导航点击事件
            $(".layui-nav-child dd a").click(function () {
                var a = $(this).attr("myhref");
                $("#iframeMain").attr("src", a);
            });
        });
        function ChangePwd() {
            $("#iframeMain").attr("src", "ChangePwd.aspx");
        }
         function Home() {
            $("#iframeMain").attr("src", "TeacherHome.aspx");
        }

    </script>
</body>
</html>
